<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
  <!-- Brand and toggle get grouped for better mobile display -->
  <div class="navbar-header">
    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
      <span class="sr-only">Toggle navigation</span>
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
    </button>
    <div title="Home"  class="btn btn-default btn-lg" onclick="window.top.location.href='{{site.name}}'">
		<span class="glyphicon glyphicon-home"></span>
	</div>
  </div>

  <!-- Collect the nav links, forms, and other content for toggling -->
  <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
    <ul class="nav navbar-nav">
      <li class="dropdown">
        <a href="#" class="dropdown-toggle" data-toggle="dropdown">busqueda simple <b class="caret"></b></a>
        <ul class="dropdown-menu">
          <li><a href="#">busqueda avanzada</a></li>
          <li><a href="#">Guardar busqueda</a></li>
        </ul>
      </li>
    </ul>
    <div class="navbar-form navbar-left" role="search">
      <div class="form-group">
      	 <input id="word" type="text" class="form-control"
      	 {% if word_key != None %}
      	 	 value="{{ word_key }}" 
      	 {% endif %} 
      	 placeholder="Ingrese una palabra" onkeyup="checkKey(event)">
      	 
      </div>
      <button class="btn btn-default" type="button" onclick="find()"><span class="glyphicon glyphicon-search"></span> Buscar</button>
  </div><!-- /.navbar-collapse -->
</nav>
    
	